package day1;
//汽车类
class Car{
    public Car(){
        System.out.println("car");
    }
}
//奥迪类
class Audi extends Car{
    public Audi(){
        System.out.println("audi");
    }
}

public class Test06 {
    public static void main(String[] args) {
        Audi a = new Audi();
        Car c = new Car();
        // car
        // audi
        // car
    }
}
